package cn.itcast.e_aop_anno2;

import org.junit.Test;
import org.springframework.context.support.ClassPathXmlApplicationContext;

/**
 * 作者  Administrator
 * 时间  2017/4/24 10:29
 * 文件  SpringDao37
 * 描述  测试
 */
public class APP {

	@Test
	public void test(){
		ClassPathXmlApplicationContext applicationContext = new ClassPathXmlApplicationContext("cn/itcast/e_aop_anno2/bean.xml");
		BeProxyClass beProxyClass = (BeProxyClass) applicationContext.getBean("dao");
		beProxyClass.test();
	}

}
